/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package za.ac.cput.principles.CRP.fixCRP.fixCRP.impl;

import za.ac.cput.principles.CRP.fixCRP.fixCRP.IfixCRP;
/**
 *
 * @author Dwayne
 */
public class Animal implements IfixCRP
{
    private String Aname = "new";
    private String sound = "none";
    
    @Override
    public String animal(String name, String  dd)
    {
        Aname = name;
        sound = dd;
        return String.format("%s,%s", Aname,sound);
    }    
    
    @Override
    public boolean isAnimal() 
    {
        return true;
    }
}
